Optimal. Leaf size=175 \[ \frac{3 \left (a^2 d^2+2 a b c d+5 b^2 c^2\right ) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 b^{5/2} d^{7/2}}-\frac{\sqrt{a+b x} \sqrt{c+d x} ((5 b c-3 a d) (a d+3 b c)-2 b d x (5 b c-a d))}{4 b^2 d^3 (b c-a d)}-\frac{2 c x^2 \sqrt{a+b x}}{d \sqrt{c+d x} (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.114117, antiderivative size = 175, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.227, Rules used = {98, 147, 63, 217, 206} \[ \frac{3 \left (a^2 d^2+2 a b c d+5 b^2 c^2\right ) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 b^{5/2} d^{7/2}}-\frac{\sqrt{a+b x} \sqrt{c+d x} ((5 b c-3 a d) (a d+3 b c)-2 b d x (5 b c-a d))}{4 b^2 d^3 (b c-a d)}-\frac{2 c x^2 \sqrt{a+b x}}{d \sqrt{c+d x} (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 98
Rule 147
Rule 63
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{x^3}{\sqrt{a+b x} (c+d x)^{3/2}} \, dx &=-\frac{2 c x^2 \sqrt{a+b x}}{d (b c-a d) \sqrt{c+d x}}+\frac{2 \int \frac{x \left (2 a c+\frac{1}{2} (5 b c-a d) x\right )}{\sqrt{a+b x} \sqrt{c+d x}} \, dx}{d (b c-a d)}\\ &=-\frac{2 c x^2 \sqrt{a+b x}}{d (b c-a d) \sqrt{c+d x}}-\frac{\sqrt{a+b x} \sqrt{c+d x} ((5 b c-3 a d) (3 b c+a d)-2 b d (5 b c-a d) x)}{4 b^2 d^3 (b c-a d)}+\frac{\left (3 \left (5 b^2 c^2+2 a b c d+a^2 d^2\right )\right ) \int \frac{1}{\sqrt{a+b x} \sqrt{c+d x}} \, dx}{8 b^2 d^3}\\ &=-\frac{2 c x^2 \sqrt{a+b x}}{d (b c-a d) \sqrt{c+d x}}-\frac{\sqrt{a+b x} \sqrt{c+d x} ((5 b c-3 a d) (3 b c+a d)-2 b d (5 b c-a d) x)}{4 b^2 d^3 (b c-a d)}+\frac{\left (3 \left (5 b^2 c^2+2 a b c d+a^2 d^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{c-\frac{a d}{b}+\frac{d x^2}{b}}} \, dx,x,\sqrt{a+b x}\right )}{4 b^3 d^3}\\ &=-\frac{2 c x^2 \sqrt{a+b x}}{d (b c-a d) \sqrt{c+d x}}-\frac{\sqrt{a+b x} \sqrt{c+d x} ((5 b c-3 a d) (3 b c+a d)-2 b d (5 b c-a d) x)}{4 b^2 d^3 (b c-a d)}+\frac{\left (3 \left (5 b^2 c^2+2 a b c d+a^2 d^2\right )\right ) \operatorname{Subst}\left (\int \frac{1}{1-\frac{d x^2}{b}} \, dx,x,\frac{\sqrt{a+b x}}{\sqrt{c+d x}}\right )}{4 b^3 d^3}\\ &=-\frac{2 c x^2 \sqrt{a+b x}}{d (b c-a d) \sqrt{c+d x}}-\frac{\sqrt{a+b x} \sqrt{c+d x} ((5 b c-3 a d) (3 b c+a d)-2 b d (5 b c-a d) x)}{4 b^2 d^3 (b c-a d)}+\frac{3 \left (5 b^2 c^2+2 a b c d+a^2 d^2\right ) \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b} \sqrt{c+d x}}\right )}{4 b^{5/2} d^{7/2}}\\ \end{align*}
Mathematica [A] time = 0.332764, size = 210, normalized size = 1.2 \[ \frac{-b \sqrt{d} \sqrt{a+b x} \left (3 a^2 d^2 (c+d x)+2 a b d \left (2 c^2+c d x-d^2 x^2\right )+b^2 c \left (-15 c^2-5 c d x+2 d^2 x^2\right )\right )-3 \sqrt{b c-a d} \left (-a^2 b c d^2-a^3 d^3-3 a b^2 c^2 d+5 b^3 c^3\right ) \sqrt{\frac{b (c+d x)}{b c-a d}} \sinh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b c-a d}}\right )}{4 b^3 d^{7/2} \sqrt{c+d x} (a d-b c)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.026, size = 673, normalized size = 3.9 \begin{align*}{\frac{1}{ \left ( 8\,ad-8\,bc \right ){b}^{2}{d}^{3}}\sqrt{bx+a} \left ( 3\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) x{a}^{3}{d}^{4}+3\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) x{a}^{2}bc{d}^{3}+9\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) xa{b}^{2}{c}^{2}{d}^{2}-15\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) x{b}^{3}{c}^{3}d+4\,{x}^{2}ab{d}^{3}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}-4\,{x}^{2}{b}^{2}c{d}^{2}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+3\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ){a}^{3}c{d}^{3}+3\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ){a}^{2}b{c}^{2}{d}^{2}+9\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ) a{b}^{2}{c}^{3}d-15\,\ln \left ( 1/2\,{\frac{2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc}{\sqrt{bd}}} \right ){b}^{3}{c}^{4}-6\,x{a}^{2}{d}^{3}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}-4\,xabc{d}^{2}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+10\,x{b}^{2}{c}^{2}d\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}-6\,{a}^{2}c{d}^{2}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}-8\,ab{c}^{2}d\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+30\,{b}^{2}{c}^{3}\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd} \right ){\frac{1}{\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }}}{\frac{1}{\sqrt{bd}}}{\frac{1}{\sqrt{dx+c}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.9125, size = 1319, normalized size = 7.54 \begin{align*} \left [\frac{3 \,{\left (5 \, b^{3} c^{4} - 3 \, a b^{2} c^{3} d - a^{2} b c^{2} d^{2} - a^{3} c d^{3} +{\left (5 \, b^{3} c^{3} d - 3 \, a b^{2} c^{2} d^{2} - a^{2} b c d^{3} - a^{3} d^{4}\right )} x\right )} \sqrt{b d} \log \left (8 \, b^{2} d^{2} x^{2} + b^{2} c^{2} + 6 \, a b c d + a^{2} d^{2} + 4 \,{\left (2 \, b d x + b c + a d\right )} \sqrt{b d} \sqrt{b x + a} \sqrt{d x + c} + 8 \,{\left (b^{2} c d + a b d^{2}\right )} x\right ) - 4 \,{\left (15 \, b^{3} c^{3} d - 4 \, a b^{2} c^{2} d^{2} - 3 \, a^{2} b c d^{3} - 2 \,{\left (b^{3} c d^{3} - a b^{2} d^{4}\right )} x^{2} +{\left (5 \, b^{3} c^{2} d^{2} - 2 \, a b^{2} c d^{3} - 3 \, a^{2} b d^{4}\right )} x\right )} \sqrt{b x + a} \sqrt{d x + c}}{16 \,{\left (b^{4} c^{2} d^{4} - a b^{3} c d^{5} +{\left (b^{4} c d^{5} - a b^{3} d^{6}\right )} x\right )}}, -\frac{3 \,{\left (5 \, b^{3} c^{4} - 3 \, a b^{2} c^{3} d - a^{2} b c^{2} d^{2} - a^{3} c d^{3} +{\left (5 \, b^{3} c^{3} d - 3 \, a b^{2} c^{2} d^{2} - a^{2} b c d^{3} - a^{3} d^{4}\right )} x\right )} \sqrt{-b d} \arctan \left (\frac{{\left (2 \, b d x + b c + a d\right )} \sqrt{-b d} \sqrt{b x + a} \sqrt{d x + c}}{2 \,{\left (b^{2} d^{2} x^{2} + a b c d +{\left (b^{2} c d + a b d^{2}\right )} x\right )}}\right ) + 2 \,{\left (15 \, b^{3} c^{3} d - 4 \, a b^{2} c^{2} d^{2} - 3 \, a^{2} b c d^{3} - 2 \,{\left (b^{3} c d^{3} - a b^{2} d^{4}\right )} x^{2} +{\left (5 \, b^{3} c^{2} d^{2} - 2 \, a b^{2} c d^{3} - 3 \, a^{2} b d^{4}\right )} x\right )} \sqrt{b x + a} \sqrt{d x + c}}{8 \,{\left (b^{4} c^{2} d^{4} - a b^{3} c d^{5} +{\left (b^{4} c d^{5} - a b^{3} d^{6}\right )} x\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{3}}{\sqrt{a + b x} \left (c + d x\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.32971, size = 412, normalized size = 2.35 \begin{align*} \frac{{\left ({\left (b x + a\right )}{\left (\frac{2 \,{\left (b^{6} c d^{4}{\left | b \right |} - a b^{5} d^{5}{\left | b \right |}\right )}{\left (b x + a\right )}}{b^{9} c d^{5} - a b^{8} d^{6}} - \frac{5 \, b^{7} c^{2} d^{3}{\left | b \right |} + 2 \, a b^{6} c d^{4}{\left | b \right |} - 7 \, a^{2} b^{5} d^{5}{\left | b \right |}}{b^{9} c d^{5} - a b^{8} d^{6}}\right )} - \frac{15 \, b^{8} c^{3} d^{2}{\left | b \right |} - 9 \, a b^{7} c^{2} d^{3}{\left | b \right |} - 3 \, a^{2} b^{6} c d^{4}{\left | b \right |} + 5 \, a^{3} b^{5} d^{5}{\left | b \right |}}{b^{9} c d^{5} - a b^{8} d^{6}}\right )} \sqrt{b x + a}}{4 \, \sqrt{b^{2} c +{\left (b x + a\right )} b d - a b d}} - \frac{3 \,{\left (5 \, b^{2} c^{2}{\left | b \right |} + 2 \, a b c d{\left | b \right |} + a^{2} d^{2}{\left | b \right |}\right )} \log \left ({\left | -\sqrt{b d} \sqrt{b x + a} + \sqrt{b^{2} c +{\left (b x + a\right )} b d - a b d} \right |}\right )}{4 \, \sqrt{b d} b^{3} d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]